<?php
	session_start();
	if(!$_POST['login'] && !$_SESSION['login']){
		header('Location: /index.php');}
	if($_SESSION['login']){
		header("Location: /galerie/index.php");
	}

?>